<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="http://netdna.bootstrapcdn.com/bootstrap/2.3.2/css/bootstrap.min.css" rel="stylesheet">
<title>lecture2a</title>
<style>
    div { margin-top: 30px; padding: 8px; border: solid 1px #ddd; }
</style>
</head>
<body>

<div class="container">
    <h1>JSTL Test5</h1>

    <fmt:formatNumber type="number" value="${ number1 }" /> <br />
    <fmt:formatNumber type="number" value="${ number1 }" pattern="#,###.#"/> <br />

    <fmt:formatDate pattern="yyyy-MM-dd" value="${ date1 }" /> <br />
    <fmt:formatDate pattern="yyyy-MM-dd HH:mm:ss" value="${ date1 }" /> <br />
    <fmt:formatDate pattern="yyyy-MM-dd hh:mm:ss a" value="${ date1 }" /> <br />

    <div>
        <a href="/lecture2a/index.jsp" class="btn">index.jsp</a>
    </div>

</div>

</body>
</html>